package ph.com.gs3.formalistics.presenter.fragments.views;

import ph.com.gs3.formalistics.R;
import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListView;

public class ThreadMessagesListViewFragment extends Fragment {

	public static final String TAG = ThreadMessagesListViewFragment.class.getSimpleName();

	private EditText etMessageText;
	private Button bSendMessage;
	private ListView lvThreadMessages;

	@Override
	public void onAttach(Activity activity) {
		super.onAttach(activity);
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View rootView = inflater.inflate(R.layout.fragment_thread_messages, container, false);

		etMessageText = (EditText) rootView.findViewById(R.id.ThreadMessages_etMessageText);
		bSendMessage = (Button) rootView.findViewById(R.id.ThreadMessages_bSendMessage);
		lvThreadMessages = (ListView) rootView.findViewById(R.id.ThreadMessages_lvThreadMessages);

		return rootView;
	}

}
